﻿* Encoding: UTF-8.

* STUDY 1 
*Reliability of the dataset bfidatatemp.sav

DATASET ACTIVATE DataSet1.
RELIABILITY
  /VARIABLES=bfi_e2 bfi_e5 bfi_e7
  /SCALE('ALL VARIABLES') ALL
  /MODEL=ALPHA
  /STATISTICS=DESCRIPTIVE SCALE
  /SUMMARY=TOTAL.
RELIABILITY
  /VARIABLES=bfi_e1 bfi_e3 bfi_e4 bfi_e6 bfi_e8
  /SCALE('ALL VARIABLES') ALL
  /MODEL=ALPHA
  /STATISTICS=DESCRIPTIVE SCALE
  /SUMMARY=TOTAL.
RELIABILITY
  /VARIABLES=bfi_e1 bfi_e2 bfi_e3 bfi_e4 bfi_e5 bfi_e6 bfi_e7 bfi_e8
  /SCALE('ALL VARIABLES') ALL
  /MODEL=ALPHA
  /STATISTICS=DESCRIPTIVE SCALE
  /SUMMARY=TOTAL.

**Ambivert Analyses  for bfidatatemp.sav

COMPUTE extpos=bfi_e1 + bfi_e3 + bfi_e4 + bfi_e6 + bfi_e8.
EXECUTE.
COMPUTE extneg=bfi_e2 + bfi_e5 + bfi_e7.
EXECUTE.
FREQUENCIES VARIABLES=extpos extneg
  /STATISTICS=MEDIAN
  /ORDER=ANALYSIS.
RECODE extpos (0 thru 22=0) (23 thru 100=1) INTO posmed.
EXECUTE.
RECODE extneg (0 thru 9=0) (10 thru 100=1) INTO negmed.
EXECUTE.
COMPUTE newvar=0.
IF (posmed = 1 & negmed = 1) newvar = 1.
IF (posmed = 1 & negmed = 0) newvar = 3.
IF (posmed = 0 & negmed = 1) newvar = 4.
IF (posmed = 0 & negmed = 0) newvar = 2. 
EXECUTE.

CORRELATIONS
  /VARIABLES=posmed negmed
  /PRINT=TWOTAIL NOSIG FULL
  /MISSING=PAIRWISE.

FREQUENCIES VARIABLES=newvar
  /ORDER=ANALYSIS.

FREQUENCIES VARIABLES=exttot
  /PERCENTILES=33.0 66.0 
  /STATISTICS=MEDIAN
  /ORDER=ANALYSIS.

RECODE exttot (8 thru 26=1) (27 thru 35=2) (36 thru 48=3) INTO grot.
EXECUTE.

FREQUENCIES VARIABLES=grot
  /ORDER=ANALYSIS.

CROSSTABS
  /TABLES=grot BY newvar
  /FORMAT=AVALUE TABLES
  /CELLS=COUNT
  /COUNT ROUND CELL.

*STUDY 2 
*Reliability Analysis for IPIPTemp.sav

DATASET ACTIVATE DataSet3.
RELIABILITY
  /VARIABLES=h1336 h1 h1110 h334 h29 x78 x83 h16 x112 h34
  /SCALE('ALL VARIABLES') ALL
  /MODEL=ALPHA
  /STATISTICS=DESCRIPTIVE SCALE
  /SUMMARY=TOTAL.
RELIABILITY
  /VARIABLES=x56 h154 h1039 x68 h661 h592 h909 h1146 h589 h976
  /SCALE('ALL VARIABLES') ALL
  /MODEL=ALPHA
  /STATISTICS=DESCRIPTIVE SCALE
  /SUMMARY=TOTAL.

*Median split 

COMPUTE extra=h34 + x112 + h16 + x83 + x78 + h29 + h334 + h1110 + h1 + h1366.
EXECUTE.

COMPUTE intra=x56 + h154 + h1039 + x68 + h661 + h592 + h909 + h1146 + h589 + h976.
EXECUTE.

FREQUENCIES VARIABLES=extra intra
  /STATISTICS=MEDIAN
  /ORDER=ANALYSIS.

RECODE extra (0 thru 33=0) (34 thru 100=1) INTO extt.
EXECUTE.
RECODE intra (0 thru 29=0) (30 thru 100=1) INTO intt.
EXECUTE.

CORRELATIONS
  /VARIABLES=extt intt
  /PRINT=TWOTAIL NOSIG FULL
  /MISSING=PAIRWISE.


COMPUTE newvar=0.
IF (extt = 1 & intt = 1) newvar = 1.
IF (extt = 1 & intt = 0) newvar = 2.
IF (extt = 0 & intt = 1) newvar = 3.
IF (extt = 0 & intt = 0) newvar = 4. 
EXECUTE.

USE ALL.
COMPUTE filter_$=(newvar ne 0).
VARIABLE LABELS filter_$ 'newvar ne 0 (FILTER)'.
VALUE LABELS filter_$ 0 'Not Selected' 1 'Selected'.
FORMATS filter_$ (f1.0).
FILTER BY filter_$.
EXECUTE.

FREQUENCIES VARIABLES=newvar
  /ORDER=ANALYSIS.

FREQUENCIES VARIABLES=exttotal
  /PERCENTILES=33.0 66.0 
  /STATISTICS=MEDIAN
  /ORDER=ANALYSIS.

COMPUTE Rintra=Rx56 + Rh154 + Rh1039 + Rx68 + Rh661 + Rh592 + Rh909 + Rh1146 + Rh589 + Rh976.
EXECUTE.

COMPUTE exttotal=extra + Rintra.
EXECUTE.

RECODE exttotal (27 thru 58=1) (59 thru 70=2) (71 thru 96=3) INTO TRADexttotal.
EXECUTE.

CROSSTABS
  /TABLES=TRADexttotal BY newvar
  /FORMAT=AVALUE TABLES
  /CELLS=COUNT
  /COUNT ROUND CELL.

*Acquiesence Analysis
    

*Ambivilence Syntax  ipiptemp.sav

RECODE a135 (1=0) (2=0) (3=0) (4=1) (5=1) INTO aa135.
EXECUTE.

RECODE a95 (1=0) (2=0) (3=0) (4=1) (5=1) INTO aa95.
EXECUTE.

RECODE d119 (1=0) (2=0) (3=0) (4=1) (5=1) INTO ad119.
EXECUTE.

RECODE d39 (1=0) (2=0) (3=0) (4=1) (5=1) INTO ad39.
EXECUTE.

RECODE e159 (1=0) (2=0) (3=0) (4=1) (5=1) INTO ae159.
EXECUTE.

RECODE e58 (1=0) (2=0) (3=0) (4=1) (5=1) INTO ae58.
EXECUTE.

RECODE h1180 (1=0) (2=0) (3=0) (4=1) (5=1) INTO ah1180.
EXECUTE.

RECODE h1253 (1=0) (2=0) (3=0) (4=1) (5=1) INTO ah1253.
EXECUTE.

RECODE h1265 (1=0) (2=0) (3=0) (4=1) (5=1) INTO ah1265.
EXECUTE.

RECODE h1269 (1=0) (2=0) (3=0) (4=1) (5=1) INTO ah1269.
EXECUTE.

RECODE h1409 (1=0) (2=0) (3=0) (4=1) (5=1) INTO ah1409.
EXECUTE.

RECODE h2030 (1=0) (2=0) (3=0) (4=1) (5=1)  INTO ah2030.
EXECUTE.

RECODE h42 (1=0) (2=0) (3=0) (4=1) (5=1) INTO ah42.
EXECUTE.

RECODE h477 (1=0) (2=0) (3=0) (4=1) (5=1) INTO ah477.
EXECUTE.

RECODE h523 (1=0) (2=0) (3=0) (4=1) (5=1) INTO ah523.
EXECUTE.

RECODE m18 (1=0) (2=0) (3=0) (4=1) (5=1) INTO am18.
EXECUTE.

RECODE m52 (1=0) (2=0) (3=0) (4=1) (5=1) INTO am52.
EXECUTE.

RECODE p375 (1=0) (2=0) (3=0) (4=1) (5=1) INTO ap375.
EXECUTE.

RECODE q215 (1=0) (2=0) (3=0) (4=1) (5=1) INTO aq215.
EXECUTE.

RECODE q56 (1=0) (2=0) (3=0) (4=1) (5=1) INTO aq56.
EXECUTE.

RECODE q96 (1=0) (2=0) (3=0) (4=1) (5=1) INTO aq96.
EXECUTE.

RECODE r17 (1=0) (2=0) (3=0) (4=1) (5=1) INTO ar17.
EXECUTE.

RECODE r19  (1=0) (2=0) (3=0) (4=1) (5=1) INTO ar19.
EXECUTE.

RECODE r26 (1=0) (2=0) (3=0) (4=1) (5=1) INTO ar26.
EXECUTE.

RECODE r71 (1=0) (2=0) (3=0) (4=1) (5=1) INTO ar71.
EXECUTE.

RECODE s34 (1=0) (2=0) (3=0) (4=1) (5=1) INTO as34.
EXECUTE.

RECODE v112 (1=0) (2=0) (3=0) (4=1) (5=1) INTO av112.
EXECUTE.

RECODE v149 (1=0) (2=0) (3=0) (4=1) (5=1) INTO av149.
EXECUTE.

RECODE v300 (1=0) (2=0) (3=0) (4=1) (5=1) INTO av300.
EXECUTE.

RECODE x109 (1=0) (2=0) (3=0) (4=1) (5=1) INTO ax109.
EXECUTE.

RECODE x164 (1=0) (2=0) (3=0) (4=1) (5=1) INTO ax164.
EXECUTE.

RECODE x192 (1=0) (2=0) (3=0) (4=1) (5=1) INTO ax192.
EXECUTE.

RECODE x254 (1=0) (2=0) (3=0) (4=1) (5=1) INTO ax254.
EXECUTE.

COMPUTE magnum=aa135 + aa95 + ad119 + ad39 + ae159 + ae58 + ah1180 + ah1253 + ah1265 + ah1269 + ah1409 + ah2030 +
    ah42 +  ah477 + ah523 + am18 + am52 + ap375 + aq215 + aq56 + aq96 + ar17 + ar19 + ar26 + ar71 + as34 + av112 + av149 + av300 + ax109 +
    ax164 + ax192 + ax254.
EXECUTE.

RECODE a135 (1=2) (2=1) (3=0) (4=0) (5=0) INTO ba135.
EXECUTE.

RECODE a95 (1=2) (2=1) (3=0) (4=0) (5=0) INTO ba95.
EXECUTE.

RECODE d119 (1=2) (2=1) (3=0) (4=0) (5=0) INTO bd119.
EXECUTE.

RECODE d39 (1=2) (2=1) (3=0) (4=0) (5=0) INTO bd39.
EXECUTE.

RECODE e159 (1=2) (2=1) (3=0) (4=0) (5=0) INTO be159.
EXECUTE.

RECODE e58 (1=2) (2=1) (3=0) (4=0) (5=0) INTO be58.
EXECUTE.

RECODE h1180 (1=2) (2=1) (3=0) (4=0) (5=0) INTO bh1180.
EXECUTE.

RECODE h1253 (1=2) (2=1) (3=0) (4=0) (5=0) INTO bh1253.
EXECUTE.

RECODE h1265 (1=2) (2=1) (3=0) (4=0) (5=0) INTO bh1265.
EXECUTE.

RECODE h1269 (1=2) (2=1) (3=0) (4=0) (5=0) INTO bh1269.
EXECUTE.

RECODE h1409 (1=2) (2=1) (3=0) (4=0) (5=0) INTO bh1409.
EXECUTE.

RECODE h2030 (1=2) (2=1) (3=0) (4=0) (5=0) INTO bh2030.
EXECUTE.

RECODE h42 (1=2) (2=1) (3=0) (4=0) (5=0) INTO bh42.
EXECUTE.

RECODE h477 (1=2) (2=1) (3=0) (4=0) (5=0) INTO bh477.
EXECUTE.

RECODE h523 (1=2) (2=1) (3=0) (4=0) (5=0) INTO bh523.
EXECUTE.

RECODE m18 (1=2) (2=1) (3=0) (4=0) (5=0) INTO bm18.
EXECUTE.

RECODE m52 (1=2) (2=1) (3=0) (4=0) (5=0) INTO bm52.
EXECUTE.

RECODE p375 (1=2) (2=1) (3=0) (4=0) (5=0) INTO bp375.
EXECUTE.

RECODE q215 (1=2) (2=1) (3=0) (4=0) (5=0) INTO bq215.
EXECUTE.

RECODE q56 (1=2) (2=1) (3=0) (4=0) (5=0) INTO bq56.
EXECUTE.

RECODE q96 (1=2) (2=1) (3=0) (4=0) (5=0) INTO bq96.
EXECUTE.

RECODE r17 (1=2) (2=1) (3=0) (4=0) (5=0) INTO br17.
EXECUTE.

RECODE r19 (1=2) (2=1) (3=0) (4=0) (5=0) INTO br19.
EXECUTE.

RECODE r26 (1=2) (2=1) (3=0) (4=0) (5=0) INTO br26.
EXECUTE.

RECODE r71 (1=2) (2=1) (3=0) (4=0) (5=0) INTO br71.
EXECUTE.

RECODE s34 (1=2) (2=1) (3=0) (4=0) (5=0) INTO bs34.
EXECUTE.

RECODE v112 (1=2) (2=1) (3=0) (4=0) (5=0) INTO bv112.
EXECUTE.

RECODE v149 (1=2) (2=1) (3=0) (4=0) (5=0) INTO bv149.
EXECUTE.

RECODE v300 (1=2) (2=1) (3=0) (4=0) (5=0) INTO bv300.
EXECUTE.

RECODE x109 (1=2) (2=1) (3=0) (4=0) (5=0) INTO bx109.
EXECUTE.

RECODE x164 (1=2) (2=1) (3=0) (4=0) (5=0) INTO bx164.
EXECUTE.

RECODE x192 (1=2) (2=1) (3=0) (4=0) (5=0) INTO bx192.
EXECUTE.

RECODE x254 (1=2) (2=1) (3=0) (4=0) (5=0) INTO bx254.
EXECUTE.

COMPUTE blueblood=ba135 + ba95 + bd119 + bd39 + be159 + be58 + bh1180 + bh1253 + bh1265 + bh1269 + bh1409 + bh2030 +
    bh42 +  bh477 + bh523 + bm18 + bm52 + bp375 + bq215 + bq56 + bq96 + br17 + br19 + br26 + br71 + bs34 + bv112 + bv149 + bv300 + bx109 +
    bx164 + bx192 + bx254.
EXECUTE.

CORRELATIONS
  /VARIABLES=blueblood magnum extra intra
  /PRINT=TWOTAIL NOSIG FULL
  /MISSING=PAIRWISE.

ONEWAY blueblood magnum BY newvar
  /ES=OVERALL
  /STATISTICS DESCRIPTIVES 
  /MISSING ANALYSIS
  /CRITERIA=CILEVEL(0.95)
  /POSTHOC=BONFERRONI ALPHA(0.05).

*ANOVAs for self-monitoring, self-deception, other deception, self-esteem private self-conscious public self-concious 
*PAS_scale1.sav

ONEWAY self_mon bidr_sde bidr_imm rslf_est priv_sc pub_sc BY TRADexttotal
  /ES=OVERALL
  /STATISTICS DESCRIPTIVES 
  /MISSING ANALYSIS
  /CRITERIA=CILEVEL(0.95)
  /POSTHOC=TUKEY ALPHA(0.05).

ONEWAY self_mon bidr_sde bidr_imm rslf_est priv_sc pub_sc BY newvar
  /ES=OVERALL
  /STATISTICS DESCRIPTIVES 
  /MISSING ANALYSIS
  /CRITERIA=CILEVEL(0.95)
  /POSTHOC=TUKEY ALPHA(0.05).

*Curvilinear Relationships
    
DATASET ACTIVATE DataSet1.
REGRESSION
  /DESCRIPTIVES MEAN STDDEV CORR SIG N
  /MISSING LISTWISE
  /STATISTICS COEFF OUTS R ANOVA CHANGE ZPP
  /CRITERIA=PIN(.05) POUT(.10)
  /NOORIGIN 
  /DEPENDENT self_mon
  /METHOD=ENTER exttotal
  /METHOD=ENTER e1.

TSET NEWVAR=NONE.
CURVEFIT
  /VARIABLES=self_mon WITH exttotal
  /CONSTANT
  /MODEL=LINEAR QUADRATIC 
  /PRINT ANOVA
  /PLOT FIT.

REGRESSION
  /DESCRIPTIVES MEAN STDDEV CORR SIG N
  /MISSING LISTWISE
  /STATISTICS COEFF OUTS R ANOVA CHANGE ZPP
  /CRITERIA=PIN(.05) POUT(.10)
  /NOORIGIN 
  /DEPENDENT self_mon
  /METHOD=ENTER extcent
  /METHOD=ENTER e2.


REGRESSION
  /DESCRIPTIVES MEAN STDDEV CORR SIG N
  /MISSING LISTWISE
  /STATISTICS COEFF OUTS R ANOVA CHANGE ZPP
  /CRITERIA=PIN(.05) POUT(.10)
  /NOORIGIN 
  /DEPENDENT bidr_sde
  /METHOD=ENTER exttotal
  /METHOD=ENTER e1.

TSET NEWVAR=NONE.
CURVEFIT
  /VARIABLES=bidr_sde WITH exttotal
  /CONSTANT
  /MODEL=LINEAR QUADRATIC 
  /PRINT ANOVA
  /PLOT FIT.

REGRESSION
  /DESCRIPTIVES MEAN STDDEV CORR SIG N
  /MISSING LISTWISE
  /STATISTICS COEFF OUTS R ANOVA CHANGE ZPP
  /CRITERIA=PIN(.05) POUT(.10)
  /NOORIGIN 
  /DEPENDENT bidr_sde
  /METHOD=ENTER extcent
  /METHOD=ENTER e2.


REGRESSION
  /DESCRIPTIVES MEAN STDDEV CORR SIG N
  /MISSING LISTWISE
  /STATISTICS COEFF OUTS R ANOVA CHANGE ZPP
  /CRITERIA=PIN(.05) POUT(.10)
  /NOORIGIN 
  /DEPENDENT bidr_imm
  /METHOD=ENTER exttotal
  /METHOD=ENTER e1.

TSET NEWVAR=NONE.
CURVEFIT
  /VARIABLES=bidr_imm WITH exttotal
  /CONSTANT
  /MODEL=LINEAR QUADRATIC 
  /PRINT ANOVA
  /PLOT FIT.

REGRESSION
  /DESCRIPTIVES MEAN STDDEV CORR SIG N
  /MISSING LISTWISE
  /STATISTICS COEFF OUTS R ANOVA CHANGE ZPP
  /CRITERIA=PIN(.05) POUT(.10)
  /NOORIGIN 
  /DEPENDENT bidr_imm
  /METHOD=ENTER extcent
  /METHOD=ENTER e2.


REGRESSION
  /DESCRIPTIVES MEAN STDDEV CORR SIG N
  /MISSING LISTWISE
  /STATISTICS COEFF OUTS R ANOVA CHANGE ZPP
  /CRITERIA=PIN(.05) POUT(.10)
  /NOORIGIN 
  /DEPENDENT rslf_est
  /METHOD=ENTER exttotal
  /METHOD=ENTER e1.

* Curve Estimation.
TSET NEWVAR=NONE.
CURVEFIT
  /VARIABLES=rslf_est WITH exttotal
  /CONSTANT
  /MODEL=LINEAR QUADRATIC 
  /PRINT ANOVA
  /PLOT FIT.

REGRESSION
  /DESCRIPTIVES MEAN STDDEV CORR SIG N
  /MISSING LISTWISE
  /STATISTICS COEFF OUTS R ANOVA CHANGE ZPP
  /CRITERIA=PIN(.05) POUT(.10)
  /NOORIGIN 
  /DEPENDENT rslf_est
  /METHOD=ENTER extcent
  /METHOD=ENTER e2.



REGRESSION
  /DESCRIPTIVES MEAN STDDEV CORR SIG N
  /MISSING LISTWISE
  /STATISTICS COEFF OUTS R ANOVA CHANGE ZPP
  /CRITERIA=PIN(.05) POUT(.10)
  /NOORIGIN 
  /DEPENDENT priv_sc
  /METHOD=ENTER exttotal
  /METHOD=ENTER e1.

TSET NEWVAR=NONE.
CURVEFIT
  /VARIABLES=priv_sc WITH exttotal
  /CONSTANT
  /MODEL=LINEAR QUADRATIC 
  /PRINT ANOVA
  /PLOT FIT.

REGRESSION
  /DESCRIPTIVES MEAN STDDEV CORR SIG N
  /MISSING LISTWISE
  /STATISTICS COEFF OUTS R ANOVA CHANGE ZPP
  /CRITERIA=PIN(.05) POUT(.10)
  /NOORIGIN 
  /DEPENDENT priv_sc
  /METHOD=ENTER extcent
  /METHOD=ENTER e2.


REGRESSION
  /DESCRIPTIVES MEAN STDDEV CORR SIG N
  /MISSING LISTWISE
  /STATISTICS COEFF OUTS R ANOVA CHANGE ZPP
  /CRITERIA=PIN(.05) POUT(.10)
  /NOORIGIN 
  /DEPENDENT pub_sc
  /METHOD=ENTER exttotal
  /METHOD=ENTER e1.

TSET NEWVAR=NONE.
CURVEFIT
  /VARIABLES=pub_sc WITH exttotal
  /CONSTANT
  /MODEL=LINEAR QUADRATIC 
  /PRINT ANOVA
  /PLOT FIT.

REGRESSION
  /DESCRIPTIVES MEAN STDDEV CORR SIG N
  /MISSING LISTWISE
  /STATISTICS COEFF OUTS R ANOVA CHANGE ZPP
  /CRITERIA=PIN(.05) POUT(.10)
  /NOORIGIN 
  /DEPENDENT pub_sc
  /METHOD=ENTER extcent
  /METHOD=ENTER e2.


*ANOVA for Narcissim Psychopathy OPAS.sav

COMPUTE narcissism=truth2 + truth5 + truth6 +  truth9 + truth11 + truth14 + truth16 + truth19 + 
    truth21 + truth24 + truth26 + truth29 + truth31 + truth34 + truth36 + truth39 + truth41 + truth44 + 
    truth46 + truth49 + truth51 + truth54 + truth56 + truth59 + truth61 + truth64 + truth66 + truth68 + 
    truth70 + truth73 + truth75 + truth77 + truth79 + truth82 + truth84 + truth87 + truth89 + truth92 + 
    truth94 + truth97.
EXECUTE.

COMPUTE psychopathy=truth1 + truth3 + truth4 + truth7 + truth8 + truth10 + truth12 + truth13 + 
    truth15 + truth17 + truth18 + truth20 + truth22 + truth23 + truth25 + truth27 + truth28 + truth30 + 
    truth32 + truth33 + truth35 + truth37 + truth38 + truth40 + truth42 + truth43 + truth45 + truth47 + 
    truth48 + truth50 + truth52 + truth53 + truth55 + truth57 + truth58 + truth60 + truth62 + truth63 + 
    truth65 + truth67 + truth69 + truth71 + truth72 + truth74 + truth76 + truth78 + truth80 + truth81 + 
    truth83 + truth85 + truth86 + truth88 + truth90 + truth91 + truth93 + truth95 + truth96 + truth98.
EXECUTE.

ONEWAY narcissism BY newvar
    /ES=OVERALL
  /STATISTICS DESCRIPTIVES 
  /MISSING ANALYSIS
  /POSTHOC=TUKEY ALPHA(0.05).

ONEWAY psychopath BY newvar
    /ES=OVERALL
  /STATISTICS DESCRIPTIVES 
  /MISSING ANALYSIS
  /POSTHOC=TUKEY ALPHA(0.05).

ONEWAY narcissism BY TRADexttotal
    /ES=OVERALL
  /STATISTICS DESCRIPTIVES 
  /MISSING ANALYSIS
  /POSTHOC=TUKEY ALPHA(0.05).

ONEWAY psychopath BY TRADexttotal
    /ES=OVERALL
  /STATISTICS DESCRIPTIVES 
  /MISSING ANALYSIS
  /POSTHOC=TUKEY ALPHA(0.05).

*Curve Estimation
    
REGRESSION
  /DESCRIPTIVES MEAN STDDEV CORR SIG N
  /MISSING LISTWISE
  /STATISTICS COEFF OUTS R ANOVA CHANGE ZPP
  /CRITERIA=PIN(.05) POUT(.10)
  /NOORIGIN 
  /DEPENDENT narcissism
  /METHOD=ENTER exttotal
  /METHOD=ENTER e1.

TSET NEWVAR=NONE.
CURVEFIT
  /VARIABLES=narcissism WITH exttotal
  /CONSTANT
  /MODEL=LINEAR QUADRATIC 
  /PRINT ANOVA
  /PLOT FIT.

REGRESSION
  /DESCRIPTIVES MEAN STDDEV CORR SIG N
  /MISSING LISTWISE
  /STATISTICS COEFF OUTS R ANOVA CHANGE ZPP
  /CRITERIA=PIN(.05) POUT(.10)
  /NOORIGIN 
  /DEPENDENT narcissism
  /METHOD=ENTER extcent
  /METHOD=ENTER e2.



REGRESSION
  /DESCRIPTIVES MEAN STDDEV CORR SIG N
  /MISSING LISTWISE
  /STATISTICS COEFF OUTS R ANOVA CHANGE ZPP
  /CRITERIA=PIN(.05) POUT(.10)
  /NOORIGIN 
  /DEPENDENT psychopath
  /METHOD=ENTER exttotal
  /METHOD=ENTER e1.

TSET NEWVAR=NONE.
CURVEFIT
  /VARIABLES=psychopath WITH exttotal
  /CONSTANT
  /MODEL=LINEAR QUADRATIC 
  /PRINT ANOVA
  /PLOT FIT.

REGRESSION
  /DESCRIPTIVES MEAN STDDEV CORR SIG N
  /MISSING LISTWISE
  /STATISTICS COEFF OUTS R ANOVA CHANGE ZPP
  /CRITERIA=PIN(.05) POUT(.10)
  /NOORIGIN 
  /DEPENDENT psychopath
  /METHOD=ENTER extcent
  /METHOD=ENTER e2.



*ANOVA for Alexithymia PEA_scales.sav
    
ONEWAY tas BY newvar
      /ES=OVERALL
  /STATISTICS DESCRIPTIVES 
  /MISSING ANALYSIS
  /POSTHOC=TUKEY ALPHA(0.05).

ONEWAY tas BY TRADexttotal
      /ES=OVERALL
  /STATISTICS DESCRIPTIVES 
  /MISSING ANALYSIS
  /POSTHOC=TUKEY ALPHA(0.05).

*Curve Estimation
    
REGRESSION
  /DESCRIPTIVES MEAN STDDEV CORR SIG N
  /MISSING LISTWISE
  /STATISTICS COEFF OUTS R ANOVA CHANGE ZPP
  /CRITERIA=PIN(.05) POUT(.10)
  /NOORIGIN 
  /DEPENDENT tas
  /METHOD=ENTER exttotal
  /METHOD=ENTER e1.

TSET NEWVAR=NONE.
CURVEFIT
  /VARIABLES=tas WITH exttotal
  /CONSTANT
  /MODEL=LINEAR QUADRATIC 
  /PRINT ANOVA
  /PLOT FIT.

REGRESSION
  /DESCRIPTIVES MEAN STDDEV CORR SIG N
  /MISSING LISTWISE
  /STATISTICS COEFF OUTS R ANOVA CHANGE ZPP
  /CRITERIA=PIN(.05) POUT(.10)
  /NOORIGIN 
  /DEPENDENT tas
  /METHOD=ENTER extcent
  /METHOD=ENTER e2.



*STUDY 3
*PersonalityClean_5.sav
*Scoring BFI IPIP

COMPUTE bfiint=BFI_2+BFI_5+BFI_7.
EXECUTE.

COMPUTE bfiext=BFI_1+BFI_3+BFI_4+BFI_6+BFI_8.
EXECUTE.

COMPUTE ipipint=IPIP_5+IPIP_7+IPIP_8+IPIP_9+IPIP_10+IPIP_11+IPIP_12+IPIP_14+IPIP_16+IPIP_17.
EXECUTE.

COMPUTE ipipext=IPIP_1+IPIP_2+IPIP_3+IPIP_4+IPIP_6+IPIP_13+IPIP_15+IPIP_18+IPIP_19+IPIP_20.
EXECUTE.

RECODE bfiint (0 thru 7=0) (8 thru 100=1) INTO bfiintrecode.
EXECUTE.

RECODE bfiext (0 thru 18=0) (19 thru 100=1) INTO bfiextrecode.
EXECUTE.

RECODE ipipint (0 thru 25=0) (26 thru 100=1) INTO ipipintrecode.
EXECUTE.

RECODE ipipext (0 thru 36=0) (37 thru 100=1) INTO ipipextrecode.
EXECUTE.

CORRELATIONS
  /VARIABLES=bfiintrecode bfiextrecode
  /PRINT=TWOTAIL NOSIG FULL
  /MISSING=PAIRWISE.

CORRELATIONS
  /VARIABLES=ipipintrecode ipipextrecode
  /PRINT=TWOTAIL NOSIG FULL
  /MISSING=PAIRWISE.


compute newbfi = 0.
if (bfiintrecode=0 & bfiextrecode=0) newbfi=1.
if (bfiintrecode=0 & bfiextrecode=1) newbfi=2.
if (bfiintrecode=1 & bfiextrecode=0) newbfi=3.
if (bfiintrecode=1 & bfiextrecode=1) newbfi=4. 

compute newipip = 0.
if (ipipintrecode=0 & ipipextrecode=0) newipip=1.
if (ipipintrecode=0 & ipipextrecode=1) newipip=2.
if (ipipintrecode=1 & ipipextrecode=0) newipip=3.
if (ipipintrecode=1 & ipipextrecode=1) newipip=4.

FREQUENCIES VARIABLES=newbfi newipip
  /ORDER=ANALYSIS.

CROSSTABS
  /TABLES=newbfi BY newipip
  /FORMAT=AVALUE TABLES
  /STATISTICS=KAPPA 
  /CELLS=COUNT
  /COUNT ROUND CELL.

COMPUTE bficombined=bfiint + bfiext.
EXECUTE.

COMPUTE ipipcombined=ipipint + ipipext.
EXECUTE.


FREQUENCIES VARIABLES=bficombined ipipcombined
  /PERCENTILES=33.0 66.0 
  /STATISTICS=MEDIAN
  /ORDER=ANALYSIS.

RECODE bficombined (8 thru 24=1) (25 thru 27=2) (28 thru 40=3) INTO newbficombined.
EXECUTE.

RECODE ipipcombined (20 thru 58=1) (59 thru 63=2) (64 thru 98=3) INTO newipipcombined.
EXECUTE.

CROSSTABS
  /TABLES=newbficombined BY newbfi
  /FORMAT=AVALUE TABLES
  /CELLS=COUNT
  /COUNT ROUND CELL.

CROSSTABS
  /TABLES=newipipcombo BY newipip
  /FORMAT=AVALUE TABLES
  /CELLS=COUNT
  /COUNT ROUND CELL.

*Demographics

DATASET ACTIVATE DataSet8.
FREQUENCIES VARIABLES=Sex
  /ORDER=ANALYSIS.

DESCRIPTIVES VARIABLES=Age
  /STATISTICS=MEAN STDDEV MIN MAX.

FREQUENCIES VARIABLES=Ethnicity
  /ORDER=ANALYSIS.

*Reliability

RELIABILITY
  /VARIABLES=BFI_1 BFI_2 BFI_3 BFI_4 BFI_5 BFI_6 BFI_7 BFI_8
  /SCALE('ALL VARIABLES') ALL
  /MODEL=ALPHA
  /STATISTICS=DESCRIPTIVE SCALE
  /SUMMARY=TOTAL.

RELIABILITY
  /VARIABLES=IPIP_1 IPIP_2 IPIP_3 IPIP_4 IPIP_5 IPIP_6 IPIP_7 IPIP_8 IPIP_9 IPIP_10 IPIP_11 IPIP_12 
    IPIP_13 IPIP_14 IPIP_15 IPIP_16 IPIP_17 IPIP_18 IPIP_19 IPIP_20
  /SCALE('ALL VARIABLES') ALL
  /MODEL=ALPHA
  /STATISTICS=DESCRIPTIVE SCALE
  /SUMMARY=TOTAL.

RELIABILITY
  /VARIABLES=CogFlex_1 CogFlex_2 CogFlex_3 CogFlex_4 CogFlex_5 CogFlex_6 CogFlex_7 CogFlex_8 
    CogFlex_9 CogFlex_10 CogFlex_11 CogFlex_12
  /SCALE('ALL VARIABLES') ALL
  /MODEL=ALPHA
  /STATISTICS=DESCRIPTIVE SCALE
  /SUMMARY=TOTAL.

RELIABILITY
  /VARIABLES=Sit_Flex_1 Sit_Flex_2 Sit_Flex_3 Sit_Flex_4 Sit_Flex_5 Sit_Flex_6 Sit_Flex_7 
    Sit_Flex_8 Sit_Flex_9 Sit_Flex_10 Sit_Flex_11 Sit_Flex_12 Sit_Flex_13 Sit_Flex_14 Sit_Flex_15 
    Sit_Flex_16
  /SCALE('ALL VARIABLES') ALL
  /MODEL=ALPHA
  /STATISTICS=DESCRIPTIVE SCALE
  /SUMMARY=TOTAL.

* ANOVAs BFI IIPI by Cognitive Flexibility and Situational Flexibility PersonalityClean_5.sav

COMPUTE cogflextot=CogFlex_1 + CogFlex_2 + CogFlex_3 + CogFlex_4 + CogFlex_5 + CogFlex_6 + 
    CogFlex_7 + CogFlex_8 + CogFlex_9 + CogFlex_10 + CogFlex_11 + CogFlex_12.
EXECUTE.

COMPUTE Sitiflextot=Sit_Flex_1 + Sit_Flex_2 + Sit_Flex_3 + Sit_Flex_4 + Sit_Flex_5 + Sit_Flex_6 + 
    Sit_Flex_7 + Sit_Flex_8 + Sit_Flex_9 + Sit_Flex_10 + Sit_Flex_11 + Sit_Flex_12 + Sit_Flex_13 + 
    Sit_Flex_14 + Sit_Flex_15 + Sit_Flex_16.
EXECUTE.

CORRELATIONS
  /VARIABLES=cogflextot Sitflextot
  /PRINT=TWOTAIL NOSIG
  /MISSING=PAIRWISE.

ONEWAY cogflextot Sitflextot BY newbfi
    /ES=OVERALL
  /STATISTICS DESCRIPTIVES 
  /MISSING ANALYSIS
  /POSTHOC=TUKEY ALPHA(0.05).

ONEWAY cogflextot Sitflextot BY newipip
    /ES=OVERALL
  /STATISTICS DESCRIPTIVES 
  /MISSING ANALYSIS
  /POSTHOC=TUKEY ALPHA(0.05).

ONEWAY cogflextot Sitflextot BY newbficombined
  /ES=OVERALL
  /STATISTICS DESCRIPTIVES 
  /MISSING ANALYSIS
  /POSTHOC=TUKEY ALPHA(0.05).

ONEWAY cogflextot Sitflextot BY newipipcombo
  /ES=OVERALL
  /STATISTICS DESCRIPTIVES 
  /MISSING ANALYSIS
  /POSTHOC=TUKEY ALPHA(0.05).

*Curve Estimation 

REGRESSION
  /DESCRIPTIVES MEAN STDDEV CORR SIG N
  /MISSING LISTWISE
  /STATISTICS COEFF OUTS R ANOVA CHANGE ZPP
  /CRITERIA=PIN(.05) POUT(.10)
  /NOORIGIN 
  /DEPENDENT cogflextot
  /METHOD=ENTER bficombined
  /METHOD=ENTER e1.


TSET NEWVAR=NONE.
CURVEFIT
  /VARIABLES=cogflextot WITH bficombined
  /CONSTANT
  /MODEL=LINEAR QUADRATIC 
  /PRINT ANOVA
  /PLOT FIT.

REGRESSION
  /DESCRIPTIVES MEAN STDDEV CORR SIG N
  /MISSING LISTWISE
  /STATISTICS COEFF OUTS R ANOVA CHANGE ZPP
  /CRITERIA=PIN(.05) POUT(.10)
  /NOORIGIN 
  /DEPENDENT cogflextot
  /METHOD=ENTER bficent
  /METHOD=ENTER e2.

REGRESSION
  /DESCRIPTIVES MEAN STDDEV CORR SIG N
  /MISSING LISTWISE
  /STATISTICS COEFF OUTS R ANOVA CHANGE ZPP
  /CRITERIA=PIN(.05) POUT(.10)
  /NOORIGIN 
  /DEPENDENT Sitflextot
  /METHOD=ENTER bficombined
  /METHOD=ENTER e1.


TSET NEWVAR=NONE.
CURVEFIT
  /VARIABLES=Sitflextot WITH bficombined
  /CONSTANT
  /MODEL=LINEAR QUADRATIC 
  /PRINT ANOVA
  /PLOT FIT.

REGRESSION
  /DESCRIPTIVES MEAN STDDEV CORR SIG N
  /MISSING LISTWISE
  /STATISTICS COEFF OUTS R ANOVA CHANGE ZPP
  /CRITERIA=PIN(.05) POUT(.10)
  /NOORIGIN 
  /DEPENDENT Sitflextot
  /METHOD=ENTER bficent
  /METHOD=ENTER e2.



REGRESSION
  /DESCRIPTIVES MEAN STDDEV CORR SIG N
  /MISSING LISTWISE
  /STATISTICS COEFF OUTS R ANOVA CHANGE ZPP
  /CRITERIA=PIN(.05) POUT(.10)
  /NOORIGIN 
  /DEPENDENT cogflextot
  /METHOD=ENTER ipipcombined
  /METHOD=ENTER e3.


TSET NEWVAR=NONE.
CURVEFIT
  /VARIABLES=cogflextot WITH ipipcombined
  /CONSTANT
  /MODEL=LINEAR QUADRATIC 
  /PRINT ANOVA
  /PLOT FIT.

REGRESSION
  /DESCRIPTIVES MEAN STDDEV CORR SIG N
  /MISSING LISTWISE
  /STATISTICS COEFF OUTS R ANOVA CHANGE ZPP
  /CRITERIA=PIN(.05) POUT(.10)
  /NOORIGIN 
  /DEPENDENT cogflextot
  /METHOD=ENTER ipipcent
  /METHOD=ENTER e4.

REGRESSION
  /DESCRIPTIVES MEAN STDDEV CORR SIG N
  /MISSING LISTWISE
  /STATISTICS COEFF OUTS R ANOVA CHANGE ZPP
  /CRITERIA=PIN(.05) POUT(.10)
  /NOORIGIN 
  /DEPENDENT Sitflextot
  /METHOD=ENTER ipipcombined
  /METHOD=ENTER e3.


TSET NEWVAR=NONE.
CURVEFIT
  /VARIABLES=Sitflextot WITH ipipcombined
  /CONSTANT
  /MODEL=LINEAR QUADRATIC 
  /PRINT ANOVA
  /PLOT FIT.

REGRESSION
  /DESCRIPTIVES MEAN STDDEV CORR SIG N
  /MISSING LISTWISE
  /STATISTICS COEFF OUTS R ANOVA CHANGE ZPP
  /CRITERIA=PIN(.05) POUT(.10)
  /NOORIGIN 
  /DEPENDENT Sitflextot
  /METHOD=ENTER ipipcent
  /METHOD=ENTER e4.











